package com.ccz.demo.validation;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class UserInfo implements Serializable {
    @FieldValidate(isRequire = true)
    private String name;

    private Date date;

    private List<String> childUser;

    public UserInfo() {
    }

    public UserInfo(String name, Date date, List<String> childUser) {
        this.name = name;
        this.date = date;
        this.childUser = childUser;
    }
}
